import React from 'react'
import routes from './router'
import { RouterProvider,createBrowserRouter } from 'react-router-dom'
function App() {
  //显示一级路由
  return <RouterProvider router={createBrowserRouter(routes)}></RouterProvider>
}

export default App
